/**
 * author: xgp
 * date: 2018/09/26
 * des: 消息公告
 */
import request from '@/utils/request'

/**
 * 分页查询消息公告
 * @param {*} params
 */
export function getListApi(params) {
  return request({
    url: '/pfnewss/findAll',
    method: 'get',
    params: params
  })
}


/**
 * 新增消息公告
 * @param {*} params
 */
export function addNewsApi(params) {
  return request({
    url: '/pfnewss/insert',
    method: 'post',
    data: params
  })
}
